package com.tc.biz.mapper;

import com.tc.biz.entity.DrainagePipeMaintainence;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DrainagePipeMaintainenceMapper {

    int deleteByPrimaryKey(String id);

    int insert(DrainagePipeMaintainence record);

    int insertSelective(DrainagePipeMaintainence record);

    DrainagePipeMaintainence selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DrainagePipeMaintainence record);

    int updateByPrimaryKey(DrainagePipeMaintainence record);

    /**
     * 通过流程实例id查询
     *
     * @param processInstanceId
     * @return
     */
    DrainagePipeMaintainence findByProcessInstanceId(String processInstanceId);
}